package models;

import play.db.jpa.Model;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * User: bicho
 * Date: 21/06/12
 * Time: 12:38
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "usuario")
public class Usuario extends Model {

    public String correo;
    public String password;
    public String perfil;

//    @ManyToMany
//    public Set<Granja> granjas;

//    @Override
//    public String toString() {
//        return correo;
//    }
}
